package com.kern.dao;

import com.kern.api.pojo.Dept;

/**
 * Created by caoshi at 21:06 2021-09-04
 */
public class DeptDao {


    public Dept findById(String id) {
        System.out.println("DAO 层查询部门: id = " + id);
        Dept dept = new Dept();
        dept.setId(id);
        dept.setDname("测试部门名称");
        dept.setDeptno(123);
        dept.setDbSource("测试数据源");

        return dept;
    }

}
